package com.zros.modules.business.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zros.modules.business.entity.Channel;
import com.zros.modules.business.mapper.ChannelMapper;
import com.zros.modules.business.service.IChannelService;
import com.zros.modules.business.vo.ChannelVo;

/**
 * <p>
 * 渠道表 服务实现类
 * </p>
 *
 * @author pangyinqiang
 * @since 2019-04-20
 */
@Service
public class ChannelServiceImpl extends ServiceImpl<ChannelMapper, Channel> implements IChannelService {
	
	@Autowired
	private ChannelMapper channelMapper;
	
	@Override
	public Page<ChannelVo> queryList( Page<ChannelVo> page, Channel channel ) 
	{
		Page<ChannelVo> pageChannelVo = channelMapper.queryList(page, channel);
		return pageChannelVo;
	}

}
